package io.linfeng.common.vo;

import io.linfeng.modules.admin.entity.AppUserEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
@ApiModel(value="AdminBillInfoResponse", description="账单记录响应体")
public class AdminBillInfoResponse implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@ApiModelProperty(value = "ID")
	private Integer id;

	/**
	 * 用户uid
	 */
	@ApiModelProperty(value = "用户uid")
	private Integer uid;
	/**
	 * 关联id
	 */
	@ApiModelProperty(value = "关联id")
	private String linkId;
	/**
	 * 0 = 支出 1 = 获得
	 */
	@ApiModelProperty(value = "0 = 支出 1 = 获得")
	private Integer pm;
	/**
	 * 账单标题
	 */
	@ApiModelProperty(value = "账单标题")
	private String title;
	/**
	 * 明细种类
	 */
	@ApiModelProperty(value = "明细种类")
	private String category;
	/**
	 * 明细类型
	 */
	@ApiModelProperty(value = "明细类型")
	private String type;
	/**
	 * 明细数字
	 */
	@ApiModelProperty(value = "明细数字")
	private BigDecimal number;
	/**
	 * 剩余
	 */
	@ApiModelProperty(value = "剩余")
	private BigDecimal balance;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String mark;
	/**
	 * 添加时间
	 */
	@ApiModelProperty(value = "添加时间")
	private Date addTime;
	/**
	 * 0待确定 1有效 -1无效
	 */
	@ApiModelProperty(value = "0待确定 1有效 -1无效")
	private Integer status;

	@ApiModelProperty(value = "用户信息")
	private AppUserEntity user;

	@ApiModelProperty(value = "头像")
	private String avatar;

	@ApiModelProperty(value = "昵称")
	private String username;
}
